<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{cwfxList.bundleName}"/>
    <head>
        <title>#{text['cwfxList.title']}</title>
        <meta name="heading" content="#{text['cwfxList.heading']}"/>
        <meta name="menu" content="CwfxMenu"/>
    </head>
<body id="cwfxList">
<h:form id="editCwfx">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="cwfxs" var="cwfx" style="margin-top: 10px"
    value="#{cwfxList.cwfxs}" rows="25" sortColumn="#{cwfxList.sortColumn}"
    sortAscending="#{cwfxList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">


    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="chznl" arrow="true">
                <h:outputText value="#{text['cwfx.chznl']}" />
            </t:commandSortHeader>
        </f:facet>
      <h:commandLink action="#{cwfxForm.edit}" value="#{cwfx.chznl}">
            <f:param name="cwfxid" value="#{cwfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="cznl" arrow="true">
                <h:outputText value="#{text['cwfx.cznl']}" />
            </t:commandSortHeader>
        </f:facet>
       <h:commandLink action="#{cwfxForm.edit}" value="#{cwfx.cznl}">
            <f:param name="cwfxid" value="#{cwfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
   	<t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jyxl" arrow="true">
                <h:outputText value="#{text['cwfx.jyxl']}" />
            </t:commandSortHeader>
        </f:facet>
            <h:commandLink action="#{cwfxForm.edit}" value="#{cwfx.jyxl}">
            <f:param name="cwfxid" value="#{cwfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
  
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ylnl" arrow="true">
                <h:outputText value="#{text['cwfx.ylnl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:commandLink action="#{cwfxForm.edit}" value="#{cwfx.ylnl}">
            <f:param name="cwfxid" value="#{cwfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
      <!--   <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['cwfx.id']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{cwfxForm.edit}" value="#{cwfx.id}">
            <f:param name="cwfxid" value="#{cwfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbqk" arrow="true">
                <h:outputText value="#{text['cwfx.jbqk']}" />
            </t:commandSortHeader>
        </f:facet>

    </t:column>
      <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['cwfx.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{cwfx.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['cwfx.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{cwfx.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['cwfx.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{cwfx.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['cwfx.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{cwfx.version}" escape="true"/>
    </t:column>
    --> 
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="cwfxs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editCwfx:cwfxs");
</script>

</h:form>
</body>
</f:view>
</html> 